
###############################################################################
#  PROJECT_ALL_DIR        - store all directories under the project
#                           used by the find<package>.cmake modules
#  PROJECT_ALL_LIB_DIR    - store all directories under the project
#                           which stores the built libraries
#

# - Try to find BoostThread
# Once done this will define following variables
#  
#  BOOSTTHREAD_FOUND        - system has BoostThread
#  BOOSTTHREAD_INCLUDE_DIRS - the BoostThread include directory
#  BOOSTTHREAD_LIBRARY_DIRS - the BoostThread library directory
#  BOOSTTHREAD_LIBRARIES    - Link these to use BoostThread
#

SET( BOOSTTHREAD_FOUND "YES" )
SET( BOOSTTHREAD_INCLUDE_DIRS ${PROJECT_ALL_DIR} )
SET( BOOSTTHREAD_LIBRARY_DIRS ${PROJECT_ALL_LIB_DIR} )
SET( BOOSTTHREAD_LIBRARIES BoostThread )

# verbose
IF( BUILD_VERBOSE )
    MESSAGE( STATUS 
        "----verbose: BOOSTTHREAD_INCLUDE_DIRS: 
        ${BOOSTTHREAD_INCLUDE_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: BOOSTTHREAD_LIBRARY_DIRS: 
        ${BOOSTTHREAD_LIBRARY_DIRS}" )
    MESSAGE( STATUS 
        "----verbose: BOOSTTHREAD_LIBRARIES:
        ${BOOSTTHREAD_LIBRARIES}" )
ENDIF( BUILD_VERBOSE )
